package com.atguigu.algorithm;

import java.util.Scanner;

public class camel {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while(scanner.hasNext()){
            String string=scanner.next();
            String[] strings=string.split("_");
            StringBuilder sb1=new StringBuilder();
            sb1.append(strings[0]);
            for(int i=1;i<strings.length;i++){
                char lowerCh=strings[i].charAt(0);
                StringBuilder sb2=new StringBuilder();
                sb2.append(Character.toUpperCase(lowerCh));
                for(int j=1;j<strings[i].length();j++){
                    sb2.append(strings[i].charAt(j));
                }
                sb1.append(sb2);
            }
            System.out.println(sb1);
        }
    }
}
